Skip to content

fqdn_rotate: reset srand seed correctly on old ruby versions#460

Merged
tphoney merged 1 commit intopuppetlabs:masterfrom
DavidS:fix-fqdn_rotate-seed
May 26, 2015
Merged

fqdn_rotate: reset srand seed correctly on old ruby versions#460
tphoney merged 1 commit intopuppetlabs:masterfrom
DavidS:fix-fqdn_rotate-seed

Conversation

@DavidS
Copy link
Copy Markdown
Contributor

@DavidS DavidS commented May 26, 2015

Without this, the global seed is reseeded on every use
of fqdn_rotate, which is a waste. Older rubies might even use a
time-base seed which adversly impacts the quality of the RNG.

Without this, the global seed is reseeded on every use
of fqdn_rotate, which is a waste. Older rubies might even use a
time-base seed which adversly impacts the quality of the RNG.
tphoney added a commit that referenced this pull request May 26, 2015
fqdn_rotate: reset srand seed correctly on old ruby versions
@tphoney tphoney merged commit 3fafad8 into puppetlabs:master May 26, 2015
@DavidS DavidS deleted the fix-fqdn_rotate-seed branch May 26, 2015 16:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants